from flask import Blueprint, request 
from .function_detail import Detail

app_detail = Blueprint('app_detail','details')


@app_detail.route('/detail/<int:ID>',methods = ['GET','POST'])
def detail_info(ID):

    info = request.args

    openid = info.get('openid')

    with Detail() as D:

        info = D.openid_verify(openid,ID)

    return info

    

    

    


